using System;
using System.Collections.Generic;
using System.Text;

using System.Drawing;
using System.Drawing.Drawing2D;
using System.ComponentModel;

using Athena.Core;

namespace Athena.Objects
{
    [Serializable()]
    public class EmptyGlyph : SpeciesGlyph
    {
        /// <summary>
        /// Initializes a new instance of the EmptyGlyph class.
        /// </summary>
        /// <param name="location"></param>
        public EmptyGlyph(PointF location) : base(location)
        {
            _ShowLabel = false;

            Module.Empty.Drawable = this;

            Shape = Objects.SpeciesGlyph.SHAPE.Empty;
            Dimensions = new SizeF(20, 20);
            ShowText = false;
            EdgeColor = Color.Gray;
            ColorEnd = Color.LightGray;
            ColorStart = Color.White;
        }

        /// <summary>
        /// Initializes a new instance of the EmptyGlyph class.
        /// </summary>
        /// <param name="location"></param>
        public EmptyGlyph()
            : base()
        {
            _ShowLabel = false;

            Item = Module.Empty;

            Shape = Objects.SpeciesGlyph.SHAPE.Empty;
            Dimensions = new SizeF(20, 20);
            ShowText = false;
            EdgeColor = Color.Gray;
            ColorEnd = Color.LightGray;
            ColorStart = Color.White;
        }

        public EmptyGlyph(EmptyGlyph copy):base(copy)
        {
            Module.Empty.Drawable = this;
        }

        public override object Clone()
        {
            return new EmptyGlyph(this);
        }

        /// <summary>
        /// empty set is always a boundary node
        /// </summary>
        public override bool Boundary
        {
            get
            {
                return true;
            }
            set
            {
                
            }
        }

        /// <summary>
        /// empty set does not have concentration
        /// </summary>
        public override double Concentration
        {
            get
            {
                return 0;
            }
            set
            {                
            }
        }
    }
}
